package top.tangyh.lamp.care.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.sql.Blob;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static top.tangyh.lamp.model.constant.Condition.LIKE;
import top.tangyh.basic.base.entity.Entity;


/**
 * <p>
 * 实体类
 * 评估评分明细内容
 * </p>
 *
 * @author zqb
 * @date 2024-07-10 08:51:41
 */
@Data
//@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("b_pg_srx_detail_normal")
public class BPgSrxDetailNormal extends Entity<Long> {
    private static final long serialVersionUID = 1L;

    /**
     * 评估评分id
     */
    @TableField(value = "pg_id", condition = EQUAL)
    @Schema(description = "评估评分id")
    private Long pgId;
    /**
     * 输入项id
     */
    @TableField(value = "pg_srx_id", condition = EQUAL)
    @Schema(description = "输入项id")
    private Long pgSrxId;
    /**
     * 明细的类型
     */
    @TableField(value = "detail_type_code", condition = LIKE)
    @Schema(description = "明细的类型")
    private String detailTypeCode;
    /**
     * 是否自定义 0false1true 默认0
     */
    @TableField(value = "is_diy", condition = EQUAL)
    @Schema(description = "是否自定义 0false1true 默认0")
    private Integer isDiy;
    /**
     * 明细内容
     */
    @TableField(value = "detail_content", condition = EQUAL)
    @Schema(description = "明细内容")
    private String detailContent;
    /**
     * 分值
     */
    @TableField(value = "score", condition = EQUAL)
    @Schema(description = "分值")
    private BigDecimal score;
    /**
     * 明细缩写
     */
    @TableField(value = "short_name", condition = LIKE)
    @Schema(description = "明细缩写")
    private String shortName;
    /**
     * 
     */
    @TableField(value = "orders", condition = LIKE)
    @Schema(description = "")
    private String orders;
    /**
     * 
     */

    /**
     * 区间结束值
     */
    @TableField(value = "range_end", condition = EQUAL)
    @Schema(description = "区间结束值")
    private BigDecimal rangeEnd;
    /**
     * 区间开始值
     */
    @TableField(value = "range_start", condition = EQUAL)
    @Schema(description = "区间开始值")
    private BigDecimal rangeStart;
    /**
     * 描述
     */
    @TableField(value = "descs", condition = LIKE)
    @Schema(description = "描述")
    private String descs;

public BPgSrxDetailNormal(){

}

}
